public class Complex {
    public Complex(double numb1, double numb2) {
        this.numb1 = numb1;
        this.numb2 = numb2;
    }

    public double getCoumadd(){
        double add=numb1+numb2;
        return add;
    }

    public double getClassadd(Complex a){
        double add2 = a.getCoumadd();
        double temp = add2 + getCoumadd();
        return temp;
    }
    public Complex(){
        numb1=0;
        numb2=0;
    }
    public double numb1;
    public double numb2;



}
